interface NavMenuItem {
    name: string;
    path: string;
    svg?: string;
    children?: NavMenuItem[];
}

export const navmenuList: NavMenuItem[] = [
    {
        name: '分析',
        path: '/main/analysis',
        svg: `
    <svg class="h-5 w-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
                            <path
                                d="M12 0.5C18.3513 0.5 23.5 5.64873 23.5 12C23.5 12.3369 23.4855 12.6704 23.4571 13H21.9506C21.4489 18.0533 17.1853 22 12 22C6.47715 22 2 17.5228 2 12C2 6.81465 5.94668 2.5511 11 2.04938V0.542876C11.3296 0.514488 11.6631 0.5 12 0.5ZM11 4.06189C7.05369 4.55399 4 7.92038 4 12C4 16.4183 7.58172 20 12 20C16.0796 20 19.446 16.9463 19.9381 13H11V4.06189ZM13 2.552V11H21.448C20.9827 6.55197 17.448 3.01732 13 2.552Z"
                            ></path>
                        </svg>
    `,
    },
    {
        name: '上传',
        path: '/main/upload',
        svg: `
        <svg class="h-5 w-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
        <path
            d="M4 19H20V12H22V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V12H4V19ZM13 9V16H11V9H6L12 3L18 9H13Z"
        ></path>
    </svg>
    `,
    },
    {
        name: '管理员管理',
        path: '/main/system',
        svg: `
        <svg class="h-5 w-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
        <path
            d="M10.4142 3L12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142ZM18 18H14V15H16V13H14V11H16V9H14V7H11.5858L9.58579 5H4V19H20V7H16V9H18V11H16V13H18V18Z"
        ></path>
    </svg>
    `,
        children: [
            {
                name: '管理员管理',
                path: '/main/administrators',
            },
            {
                name: '用户管理',
                path: '/main/user',
            },
            {
                name: '角色管理',
                path: '/main/role',
            },
        ],
    },
    {
        name: '分类管理',
        path: '/main/categorys',
        svg: `
        <svg
    t="1684221580328"
    class="icon"
    viewBox="0 0 1024 1024"
    version="1.1"
    xmlns="http://www.w3.org/2000/svg"
    p-id="4141"
    width="24"
    height="24"
>
    <path
        d="M490.479359 397.322168c0 52.616358-42.657542 95.2739-95.274924 95.2739L159.661861 492.596068c-52.617381 0-95.2739-42.658565-95.2739-95.2739L64.387961 161.779593c0-52.617381 42.657542-95.274924 95.2739-95.274924L395.204435 66.50467c52.617381 0 95.274924 42.657542 95.274924 95.274924L490.479359 397.322168zM435.500187 161.779593c0-22.255887-18.040888-40.295751-40.295751-40.295751L159.661861 121.483842c-22.254863 0-40.294728 18.039865-40.294728 40.295751L119.367133 397.322168c0 22.254863 18.039865 40.294728 40.294728 40.294728L395.204435 437.616896c22.254863 0 40.295751-18.039865 40.295751-40.294728L435.500187 161.779593z"
        fill="#272636"
        p-id="4142"
    ></path>
    <path
        d="M174.346305 286.423405c-7.597025 0-13.745049-6.148024-13.745049-13.746072l0-24.765033c0-38.066991 25.39539-71.449285 60.321854-71.449285l85.637426 0c7.583722 0 13.745049 6.148024 13.745049 13.745049 0 7.597025-6.161327 13.745049-13.745049 13.745049l-85.637426 0c-21.435195 0-32.831756 23.63735-32.831756 43.959188l0 24.765033C188.091354 280.275381 181.931051 286.423405 174.346305 286.423405z"
        fill="#272636"
        p-id="4143"
    ></path>
    <path
        d="M169.112094 333.564052c-3.583618 0-7.154957-1.51654-9.758248-3.986801-2.482541-2.604314-3.986801-6.187933-3.986801-9.759271 0-3.570315 1.503237-7.140631 3.986801-9.758248 5.221932-5.087878 14.282285-5.087878 19.516496 0 2.469238 2.617617 3.986801 6.187933 3.986801 9.758248 0 3.570315-1.51654 7.154957-3.986801 9.624195C176.252725 332.047512 172.682409 333.564052 169.112094 333.564052z"
        fill="#272636"
        p-id="4144"
    ></path>
    <path
        d="M957.806927 397.322168c0 52.616358-42.659589 95.2739-95.275947 95.2739L626.989429 492.596068c-52.618405 0-95.274924-42.658565-95.274924-95.2739L531.714506 161.779593c0-52.617381 42.657542-95.274924 95.274924-95.274924l235.541551 0c52.617381 0 95.275947 42.657542 95.275947 95.274924L957.806927 397.322168zM902.826731 161.779593c0-22.255887-18.039865-40.295751-40.295751-40.295751L626.989429 121.483842c-22.254863 0-40.295751 18.039865-40.295751 40.295751L586.693678 397.322168c0 22.254863 18.040888 40.294728 40.295751 40.294728l235.541551 0c22.255887 0 40.295751-18.039865 40.295751-40.294728L902.826731 161.779593z"
        fill="#272636"
        p-id="4145"
    ></path>
    <path
        d="M490.479359 864.646666c0 52.617381-42.657542 95.274924-95.274924 95.274924L159.661861 959.921589c-52.617381 0-95.2739-42.658565-95.2739-95.274924L64.387961 629.106138c0-52.617381 42.657542-95.2739 95.2739-95.2739L395.204435 533.832238c52.617381 0 95.274924 42.657542 95.274924 95.2739L490.479359 864.646666zM435.500187 629.106138c0-22.254863-18.040888-40.295751-40.295751-40.295751L159.661861 588.810387c-22.254863 0-40.294728 18.040888-40.294728 40.295751l0 235.541551c0 22.254863 18.039865 40.296775 40.294728 40.296775L395.204435 904.944464c22.254863 0 40.295751-18.041912 40.295751-40.296775L435.500187 629.106138z"
        fill="#272636"
        p-id="4146"
    ></path>
    <path
        d="M957.806927 864.646666c0 52.617381-42.659589 95.274924-95.275947 95.274924L626.989429 959.921589c-52.618405 0-95.274924-42.658565-95.274924-95.274924L531.714506 629.106138c0-52.617381 42.657542-95.2739 95.274924-95.2739l235.541551 0c52.617381 0 95.275947 42.657542 95.275947 95.2739L957.806927 864.646666zM902.826731 629.106138c0-22.254863-18.039865-40.295751-40.295751-40.295751L626.989429 588.810387c-22.254863 0-40.295751 18.040888-40.295751 40.295751l0 235.541551c0 22.254863 18.040888 40.296775 40.295751 40.296775l235.541551 0c22.255887 0 40.295751-18.041912 40.295751-40.296775L902.826731 629.106138z"
        fill="#272636"
        p-id="4147"
    ></path>
</svg>
    `,
        children: [
            {
                name: '地址管理',
                path: '/main/address',
            },
            {
                name: '分类管理',
                path: '/main/category',
            },
        ],
    },
    {
        name: '产品管理',
        path: '/main/product',
        svg: `<svg t="1684308116324" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2373" width="24" height="24"><path d="M950.93248 438.82496L569.82016 48.62464a63.77472 63.77472 0 0 0-45.45536-18.84672 63.96416 63.96416 0 0 0-44.74368 18.12992L326.20544 197.48352v-5.8624c0-24.66304-20.05504-44.73344-44.71296-44.73344H203.52c-24.6528 0-44.71296 20.06528-44.71296 44.73344v168.99584L80.50176 436.93056c-54.6304 55.89504-25.97376 111.2832-1.31072 136.67328a63.54944 63.54944 0 0 0 45.9008 19.37408c4.82304 0 9.58976-0.53248 14.24896-1.5872v308.6592c0 46.16704 37.54496 83.72736 83.6864 83.72736h85.248v-0.49664l325.66784 0.49664c41.48736 0 57.71776-36.67456 57.71776-82.37056v-232.66816c0-38.48192-35.47648-69.14048-73.35424-69.14048H405.48352a33.60768 33.60768 0 0 0-33.664 33.66912v187.58144c0 12.62592 6.6048 24.04352 24.64256 22.84544 18.03776-0.59904 21.64224-15.03232 21.64224-33.07008v-146.69312c0-15.03232 12.62592-17.42848 27.65824-17.42848h170.74688c15.03744 0 27.65312 12.6208 27.65312 27.648v232.07424c0 15.0272-12.6208 32.69632-27.65312 32.69632H308.2752v-0.54272H223.0272c-18.3296 0-33.23904-14.93504-33.23904-33.27488v-344.44288l327.68512-319.9232c2.93376-2.82624 4.992-4.25984 6.10304-4.25984 0.71168 0 2.50368 0.60416 6.61504 4.62336l310.69184 319.7184v344.27904c0 18.34496-14.89408 33.27488-33.21856 33.27488l-67.08224 2.66752c-12.96384 0-24.25344 6.30784-24.25344 19.27168a23.47008 23.47008 0 0 0 23.4752 23.4752H807.66464c46.14144 0 83.67616-37.56032 83.67616-83.72736v-307.54304c4.74624 1.1264 9.45152 1.6896 14.0544 1.6896 17.12128 0 33.21856-6.656 45.34272-18.74944 12.14464-12.09856 28.44672-33.3056 28.4416-80.33792 0-17.16224 0-25.24672-28.24704-56.2944zM194.13504 202.3936c0-13.1328 15.744-23.81312 28.89216-23.81312h44.02176c13.14304 0 23.8336 5.64224 23.8336 18.77504v44.86144L194.13504 336.7424V202.3936z m737.69984 316.9536c-6.0672 16.1024-21.1968 27.79136-35.968 27.79136a25.344 25.344 0 0 1-15.37536-5.03808l-0.60928-0.46592-0.5376-0.54784c-71.00928-72.92416-178.84672-186.04544-250.20928-260.90496-40.42752-42.40896-72.36096-75.90912-75.09504-78.47936l-4.50048-4.18816c-13.87008-12.93312-17.7664-16.31744-24.27904-16.31744-8.1664 0-16.42496 6.49216-33.31584 21.2992-3.05664 2.71872-50.90304 49.28-336.88576 330.48576l-13.83424 13.5936-0.80384 0.53248a27.58144 27.58144 0 0 1-15.2832 4.5312h-0.00512c-14.32064 0-29.12256-10.48064-35.99872-25.48736-7.4752-16.32256-4.46464-34.14016 8.26368-48.90112l0.512-0.55296c16.96256-16.93184 393.81504-384.18432 409.84576-399.80544a23.6544 23.6544 0 0 1 16.59904-6.77376 23.6032 23.6032 0 0 1 16.86528 7.0144l371.72736 384.23552c27.55072 24.42752 22.40512 48.6656 18.88768 57.97888z" p-id="2374" fill="#2c2c2c"></path></svg>`,
        children: [
            {
                name: '房屋出租模块',
                path: '/main/house',
            },
            {
                name: '待开发模块',
                path: '/main/why',
            },
        ],
    },
];

